package hvz.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SampleMission extends Activity {
	
	private Button mapBtn;
	private Button backBtn;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.sample_mission);
	
	mapBtn = (Button)findViewById(R.id.missionMapBtn);
	backBtn = (Button)findViewById(R.id.returnBtn);
	
	mapBtn.setOnClickListener(new OnClickListener(){
		@Override
		public void onClick(View v) {
			Intent nextScreen = new Intent(getApplicationContext(),
					GoogleMissionMap.class);
			startActivity(nextScreen);
			finish();
			
		}
	});
	
	backBtn.setOnClickListener(new OnClickListener(){
		@Override
		public void onClick(View v) {
			Intent nextScreen = new Intent(getApplicationContext(),
					ZombieMissionsActivity.class);
			startActivity(nextScreen);
			finish();
			
		}
	});
	
	}

}
